/**
 * @format
 */

if (__DEV__) {
  require("./ReactotronConfig");
}

import './gesture-handler';
import React from "react";
import { AppRegistry } from "react-native";
import App from "./App";
import { name as appName } from "./app.json";
import { Provider as StoreProvider } from "react-redux";
import store from "@src/store";

export default function Main() {
  return (
    <StoreProvider store={ store }>
      <App />
    </StoreProvider>
  );
}

AppRegistry.registerComponent(appName, () => Main);
